package com.cti.commons.delayqueue.config;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import org.springframework.context.annotation.Import;

import com.cti.commons.delayqueue.core.DelayBucket;
import com.cti.commons.delayqueue.core.DelayQueue;
import com.cti.commons.delayqueue.core.DelayQueueJobPool;
import com.cti.commons.delayqueue.core.ReadyQueue;

/**
 * @author et.wang
 * @description: 延时队列注解
 * @date 2022/10/27 19:36
 */
@Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
@Target(value = {java.lang.annotation.ElementType.TYPE})
@Import({DelayBucket.class, DelayQueue.class, DelayQueueJobPool.class, ReadyQueue.class})
@Documented
public @interface EnableDelayQueue {

}
